import request from "@/utils/request.js"

export const getSwipersApi=()=>request("/home/swiperdata")
export const getFoodsListApi=()=>request("/home/catitems")
export const getFloorDataApi=()=>request("/home/floorsdata")
export const getRecommendDataApi=()=>request("/home/recommend")
export const getVideoDataApi=()=>request("/search/memberRecommend")
export const getSearchDataApi=(data)=>request("/search/searchMenu",{method:'POST',data})
export const getFoodDataApi=(data)=>request("/search/menuDetail",{method:'POST',data})
export const getCategoricalDataApi=()=>request("/categories")